Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Converts TAP to xUnit XML format.
TAP output from testing frameworks such as tape or node-tap can be piped directly to tap-xunit
node test.js | tap-xunit
npm install tap-xunit -g
node test.js | tap-xunit
less results.tap | tap-xunit --package="MyCompany.MyTool" > results.xml
By default TAP comments are used as test-suite names and considered to mark test boundaries. CLI flag --dontUseCommentsAsTestNames
can be used to turn that feature off, in which case comments are ignored and
all assertions go inside a single <testsuite name="Default">
with name Default
var converter = require('tap-xunit');
// Optional configuration
var opts = {}
var tapToxUnitConverter = converter(opts);
tapInputStream.pipe(tapToxUnitConverter).pipe(xUnitOutStream);
Options can be passed as CLI arguments by being prefixed with --
default: false
By default TAP comments are used as test-suite names and considered to mark test boundaries.
This option can be used to turn that feature off, in which case comments are ignored and
all assertions go inside a single <testsuite name="Default">
with name Default
default: false
Whether the '.' in test-suite names should be replaced with a Unicode homoglyph. This feature exists because many xUnit reporters assume '.' in test-suite name implies package hierarchy, which may not be the case.
default: ''
If specified, all test-suites will be prefixed with the given package name.
NOTE: replaceWithUnicodeDot
option does not apply to package and . can be used to specify package hierarchy.
MIT
FAQs
TAP to xUnit XML converter.
The npm package tap-xunit receives a total of 16,783 weekly downloads. As such, tap-xunit popularity was classified as popular.
We found that tap-xunit demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.